package com.bdqn.mapper;

import com.bdqn.entity.Setmeal;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 套餐 Mapper 接口
 * </p>
 *
 * @author hunter
 * @since 2022-06-11
 */
@Repository
public interface SetmealMapper extends BaseMapper<Setmeal> {

    List<Setmeal> selectListByName(String name);

    List<Setmeal> selectByCategoryId(Long categoryId, Integer status);
}
